﻿Imports HotelLibrary

Public Class WebForm1
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim objdb As New DBConnect

        GridView1.DataSource = objdb.getDataSet("SELECT * FROM Department_t")
        GridView1.DataBind()


    End Sub

End Class